Fatal error: Uncaught TypeError: Enciclopedias\Controllers\CategoryController::single(): Argument #4 ($items) must be of type ?int, string given, called in /var/www/enciclo-v4/app/src/Engine/BaseEngine.php on line 470 and defined in /var/www/enciclo-v4/app/src/Controllers/CategoryController.php:92
Stack trace:
#0 /var/www/enciclo-v4/app/src/Engine/BaseEngine.php(470): Enciclopedias\Controllers\CategoryController->single()
#1 [internal function]: Enciclopedias\Engine\BaseEngine->Enciclopedias\Engine\{closure}()
#2 /var/www/enciclo-v4/app/vendor/flightphp/core/flight/core/Dispatcher.php(354): call_user_func_array()
#3 /var/www/enciclo-v4/app/vendor/flightphp/core/flight/core/Dispatcher.php(287): flight\core\Dispatcher->invokeCallable()
#4 /var/www/enciclo-v4/app/vendor/flightphp/core/flight/Engine.php(522): flight\core\Dispatcher->execute()
#5 [internal function]: flight\Engine->_start()
#6 /var/www/enciclo-v4/app/vendor/flightphp/core/flight/core/Dispatcher.php(379): call_user_func_array()
#7 /var/www/enciclo-v4/app/vendor/flightphp/core/flight/core/Dispatcher.php(287): flight\core\Dispatcher->invokeCallable()
#8 /var/www/enciclo-v4/app/vendor/flightphp/core/flight/core/Dispatcher.php(131): flight\core\Dispatcher->execute()
#9 /var/www/enciclo-v4/app/vendor/flightphp/core/flight/core/Dispatcher.php(95): flight\core\Dispatcher->runEvent()
#10 /var/www/enciclo-v4/app/vendor/flightphp/core/flight/Engine.php(113): flight\core\Dispatcher->run()
#11 /var/www/enciclo-v4/app/vendor/flightphp/core/flight/Flight.php(119): flight\Engine->__call()
#12 /var/www/enciclo-v4/app/src/Engine/BaseEngine.php(574): Flight::__callStatic()
#13 /var/www/enciclo-v4/app/src/Engine/BootEngine.php(56): Enciclopedias\Engine\BaseEngine->run()
#14 /var/www/enciclo-v4/app/public/index.php(33): Enciclopedias\Engine\BootEngine->run()
#15 {main}
thrown in /var/www/enciclo-v4/app/src/Controllers/CategoryController.php on line 92